package com.wangshidai.service;

import com.wangshidai.entity.SysRolePermission;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wangshidai.util.BusinessException;

import java.util.List;
import java.util.Set;

/**
 *
 */
public interface SysRolePermissionService extends IService<SysRolePermission> {
    List<Long> queryPermissionId(long roleId);

    boolean alterRolePermission(long roleId, Set<Long> permissionIds) throws BusinessException;
}
